define (require)->
    require('./demo1.scss')


    $ = require('jquery')
    $view = $ require('./demo1.jade')()

    $container = $('.container')

    eo = {}

    eo.show = ->
        $container.html($view)
        $showBtn = $view.find('.btn-show')
        $showBtn.on 'click', ->
            $ele = $("[class*='z-depth'], [class*='focus']")
            if !$(this).data("show")
                $ele.addClass("show")
                $(this).data("show", true)
            else
                $ele.removeClass("show")
                $(this).data("show", false)
    eo